-- GENERATED SPELL FOR [Gutripper] --


function spell0_18257(pUnit, Event) --@Gut Rip,n/a--
pUnit:FullCastSpellOnTarget(32022,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18257', 587, 1)
end

function Sorts_18257(pUnit, Event)
local choix_sorts_18257 = math.random(0, 0)
if choix_sorts_18257 == 0 then
pUnit:RegisterEvent('spell0_18257', 1, 1)
end
end

function mob18257_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18257', math.random(1500, 3000), 1)
end

function mob18257_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18257_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18257_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18257, 1, 'mob18257_Action')
RegisterUnitEvent(18257, 2, 'mob18257_Leave')
RegisterUnitEvent(18257, 3, 'mob18257_Kill')
RegisterUnitEvent(18257, 4, 'mob18257_Die')
